/*
* @Date: 2020/6/10
* @Author: XueChengwu <xuechengwu@erayt.com>
* @Copyright: 2015-2019 Erayt, Inc.
* @Description: If you have some questions, please contact: xuechengwu@erayt.com.
*/

export default {
  props: [{
    key: 'type',
    type: 'select',
    options: ['primary', 'ghost', 'warning'],
    label: '类型',
  }, {
    key: 'size',
    type: 'select',
    options: ['large', 'small'],
    label: '大小',
  }, {
    key: 'activeStyle',
    type: 'style',
    label: '点击样式',
  }, {
    key: 'disabled',
    type: 'checked',
    label: '禁用',
  }, {
    key: 'onClick',
    type: 'function',
    label: 'onClick',
  }, {
    key: 'style',
    type: 'style',
    label: '样式'
  }, {
    key: 'inline',
    type: 'checked',
    label: '行内按钮'
  }, {
    key: 'loading',
    type: 'checked',
    label: '加载状态',
  }, {
    key: 'icon',
    type: 'icon',
    label: '图标'
  }],
  /**
   * children渲染函数
   * @param param 参数
   */
  childRender: (param, page) => {
    return (
      <div className="sortable view-item-box sub">

      </div>
    )
  },
}
